﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Day06
{
    //响应者
    public class Alarm
    {
        public static void Open()
        {
            Console.WriteLine("警报响起"); ;
        }

        public static void Open(DamageEventArgs args)
        {

            Console.WriteLine("拉响{0}级警报", args.LifeRatio); ;
        }
    }
}